package com.qczl.pme.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 直播录制
 * @作者:SongR
 * @日期:2017年9月21日上午10:46:01
 */
@Entity
@Table(name="pme_basis_livevideo")
public class PMELiveVideo {
	private Long id;// 编号
	private String name;// 视频名称
	private String playUrl;// 播放地址
	private String downloadUrl;// 下载地址
	private Long duration;// 时长
	private Date startTime; // 开始时间
	private Date endTime;// 结束时间
	private Date creatTime;// 创建时间
	private String taskId;// 任务编号
	private Integer status;//状态 (-1、已删除 0、可用 1、不可用)
	private Long cameraid;
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "id")
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPlayUrl() {
		return playUrl;
	}
	public void setPlayUrl(String playUrl) {
		this.playUrl = playUrl;
	}
	public String getDownloadUrl() {
		return downloadUrl;
	}
	public void setDownloadUrl(String downloadUrl) {
		this.downloadUrl = downloadUrl;
	}
	public Long getDuration() {
		return duration;
	}
	public void setDuration(Long duration) {
		this.duration = duration;
	}
	public Date getStartTime() {
		return startTime;
	}
	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}
	public Date getEndTime() {
		return endTime;
	}
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	public Date getCreatTime() {
		return creatTime;
	}
	public void setCreatTime(Date creatTime) {
		this.creatTime = creatTime;
	}
	public String getTaskId() {
		return taskId;
	}
	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Long getCameraid() {
		return cameraid;
	}
	public void setCameraid(Long cameraid) {
		this.cameraid = cameraid;
	}
}
